package com.tedu.ds.consumables.mapper;

import com.tedu.ds.consumables.pojo.dto.ConsumablesQuery;
import com.tedu.ds.consumables.pojo.entity.Consumables;
import com.tedu.ds.consumables.pojo.vo.ConsumablesVO;

import java.util.List;

public interface ConsumablesMapper {
    List<ConsumablesVO> select(ConsumablesQuery query);

    void deleteById(Long id);

    void update(Consumables consumables);

    void insert(Consumables consumables);

    int count(ConsumablesQuery query);
}
